package com.neuedu.helloworld.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {


    /**
     * http://127.0.0.1:8080/index
     * http://127.0.0.1:80/index
     * http://127.0.0.1:80/index
     * http://127.0.0.1/hello/index
     * @return
     */
    @RequestMapping("/index")
    public String test(){

        System.out.println("热部署之前的代码");

        System.out.println("热部署生效");

        return "Hello Boot";

    }



}
